# -*- coding: utf-8 -*-

import logging

logging.basicConfig(level=logging.DEBUG, format='(%(threadName)-10s) [%(filename)s %(lineno)d] %(message)s',)

def entry(func):
    def _(*args, **kwargs):
        logging.debug(">> %s.%s" % (args[0].__class__.__name__, func.__name__) )
        return func(*args, **kwargs)
    return _

def notoverrided(func):
    def _(*args, **kwargs):
        logging.debug("Not Overrided>> %s.%s" % (args[0].__class__.__name__, func.__name__) )
        return func(*args, **kwargs)
    return _
